package com.neusoft.yuejian_6.model;

import com.neusoft.yuejian_6.service.ActivityService;

import retrofit2.Call;
import retrofit2.Retrofit;
import retrofit2.converter.gson.GsonConverterFactory;

/**
 * Created by Q on 2017/10/10.
 */

public class ContestModel {
//    private Retrofit retrofit;
//
//    public ContestModel() {
//        retrofit = new Retrofit.Builder()
//                .baseUrl("http://10.0.2.2/neu1_yuejian/index.php/Api/")
//                .addConverterFactory(GsonConverterFactory.create())
//                .build();
//    }
//
//    public Call Contestlist() {
//        ContestService contestService = retrofit.create(ContestService.class);
//        return ContestService.getAllActivities();
//    }
}